package com.couchcrowler.client;

import java.util.List;

import com.couchcrowler.shared.Profile;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;

	void getProfile(String id, AsyncCallback<Profile> callback);

	void getProfiles(List<String> ids, AsyncCallback<List<Profile>> callback);
}
